﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Omabar.Model
{
    public class SLIDER
    {
        /// <summary>
        /// 幻灯片ID
        /// </summary>
        public string SLIDER_ID { get; set; }
        /// <summary>
        /// 幻灯片图片
        /// </summary>
        public string SLIDER_IMAGE { get; set; }
        /// <summary>
        /// 幻灯片链接
        /// </summary>
        public string SLIDER_URL { get; set; }
        /// <summary>
        /// 幻灯片描述
        /// </summary>
        public string SLIDER_DES { get; set; }
        /// <summary>
        /// 图片排序
        /// </summary>
        public short SLIDER_SORT { get; set; }
        /// <summary>
        /// 幻灯片类型
        /// 0：T图
        /// 1：欧玛贝独创
        /// 2：特色项目
        /// 3：当季热推
        /// 4：精品之旅
        /// </summary>
        public short SLIDER_TYPE { get; set; }

        public string SLIDER_TYPE_NAME { get {
            switch (this.SLIDER_TYPE)
            { 
                case 0:
                    return "T图";
                case 1:
                    return "欧玛贝独创";
                case 2:
                    return "特色项目";
            }
            return "";
        } }

        /// <summary>
        /// 备注
        /// </summary>
        public string SLIDER_BAK { get; set; }
    }
}
